<template>
  <div class="page-head">
    <div class="page-head-text">
      <slot>{{title}}</slot>
    </div>
    <div class="page-head-tool">
      <slot name="tool"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'page-head',
  cnName: '简易标题',
  props: {
    title: String
  },
  data() {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.page-head {
  background: #ffffff;
  font-size: 13px;
  padding: 0 10px;
  border-bottom: 1px solid #eee;
  color: #605e5e;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>
